/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024 —02 —18
 * Time: 11:34
 */
public class Base {
    int a;
    int b;
    public void methodB(){
        System.out.println("Base中的methoB（）");
    }
}
public class Derived extends Base{
    int a;
    int b;
    public void methodB(){
        System.out.println("Derived 中的 methodB方法");
    }
}
